package com.pxmeta.party.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pxmeta.party.entity.ActivityFoodStall;
import com.pxmeta.party.entity.LotteryOpen;
import com.pxmeta.party.entity.vo.ActivityFoodRecordVO;
import com.pxmeta.party.entity.vo.ActivityFoodVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ActivityFoodStallMapper extends BaseMapper<ActivityFoodStall> {

    List<ActivityFoodVO> getFoodStallList(@Param("userId") Long userId);

    List<ActivityFoodRecordVO> getMyFoodStallRecords(@Param("page") Page page, @Param("userId") Long userId, @Param("status") Integer status);
}
